package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.common.ServiceResponse;
import com.mmall.vo.OrderVo;

import java.util.Map;

/**
 * Created by sc on 2017/9/6.
 */
public interface IOrderService {
    ServiceResponse pay(Integer userid, String path, Long orderno);

    ServiceResponse aliCallBack(Map<String, String> params);

    ServiceResponse<Boolean> querystatus(Integer id, Long orderNo);

    ServiceResponse createOrder(Integer userid, Integer shippingid);

    ServiceResponse<OrderVo> manageDetail(Long orderNo);

    ServiceResponse cancleOrder(Integer id, Long orderno);

    ServiceResponse getOrderCartProduct(Integer userid);

    ServiceResponse<PageInfo> manageList(int pagenum, int pagesize);

    ServiceResponse<OrderVo> getOrderdetail(Integer userid, Long orderno);

    ServiceResponse<PageInfo> listOrder(Integer id, Integer pagenum, Integer pagesize);

    ServiceResponse<String> sendGoods(Long ordreNo);

    ServiceResponse<PageInfo> search(Long orderNo, Integer pagenum, Integer pagesize);
}
